]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Drop dead function call
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 8 Oct 2025 18:08:31 +0000 (20:08 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 5 Nov 2025 10:33:55 +0000 (11:33 +0100)
We call this menu manager method that does nothing. We
can remove this method and the single call in the codebase.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3912>

js/ui/appDisplay.js
js/ui/popupMenu.js

index 3da7f752f066b4eb57cad14a8e43ffb9005b97ab..490e8d04ee244189b7df386e276486b3adb71dac 100644 (file)
@@ -3028,7 +3028,6 @@ export const AppIcon = GObject.registerClass({
         this.emit('menu-state-changed', true);
 
         this._menu.open(BoxPointer.PopupAnimation.FULL);
-        this._menuManager.ignoreRelease();
         this.emit('sync-tooltip');
 
         return false;
index 5b6ad664c01064cd18b4a1694fcefb28c83e1de2..b89abfa934313d06205729306f1e35559550beca 100644 (file)
@@ -1456,9 +1456,6 @@ export class PopupMenuManager {
         this._menus.splice(position, 1);
     }
 
-    ignoreRelease() {
-    }
-
     _onMenuOpenState(menu, open) {
         if (open && this.activeMenu === menu)
             return;